<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../../public/public.jsp"%>
<jsp:include page="../../public/publishCssAndJS.jsp" flush="true"></jsp:include>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title>新建标准规范编制
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		</title>
	<link href="<%=path %>/css/uploadify.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<%=path %>/js/commom/jquery.js"></script>
	<script type="text/javascript" src="<%=path %>/js/commom/jquery.form.js"></script>
	<script type="text/javascript" src="<%=path %>/js/commom/swfobject.js"></script>
	<script type="text/javascript" src="<%=path %>/js/commom/jquery.uploadify.js"></script>
	<script language="JavaScript" src="<%=path%>/js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
	<script type="text/javascript" src="<%=path %>/js/commom/util.js"></script>
    <script type="text/javascript" src="<%=path %>/js/commom/validate.js"></script>
	<script type="text/javascript" src="<%=path %>/js/kjjd/standardFormation.js"></script>
	<script type="text/javascript" src="<%=path %>/dwr/engine.js"></script>
	<script type="text/javascript" src="<%=path %>/dwr/util.js"></script>
	<script type="text/javascript" src="<%=path %>/dwr/interface/ValidateRepeat.js"></script>
	</head>
	<body class="bodyWindowDialog">
	<iframe  id='target_upload' name='target_upload' src='' style='display: none'></iframe>
		<form id="standardFormationForm" action="standardFormation.action" method="post" enctype="multipart/form-data">
			<input type="hidden" id="cmd" name="cmd" value="add" />
			<input type="hidden" id="path" value="<%=path %>"/>
			<input type="hidden" id="po.maintainDep" name="po.maintainDep" value="${sessionScope.user_name.orgId}" />
			<input type="hidden" id="hasAccessory" name="formMap.hasAccessory" value="YES"/>
			<input type="hidden" id="po.sentDep" name="po.sentDep" value="" />
			<input type="hidden" id="po.sentDepName" name="po.sentDepName" value="" />
			<table cellspacing="1px" class="add_ModelTableStyle">
				<tr>
					<td colspan="2" class="add_title">
						&nbsp;新&nbsp;建&nbsp;标&nbsp;准&nbsp;规&nbsp;范&nbsp;编&nbsp;制&nbsp;
					</td>
				</tr>
				<tr>
					<td colspan="2" class="add_underlineCss"></td>
				</tr>
				
				<tr>
					<td class="add_leftcellStyle"> 
						名称:
					</td>
					<td class="add_rightcellStyle">
						<input class="textInput" type="text" id="po.standardName" name="po.standardName" />
						<font color="#FF6600" >*</font>
					</td>
				</tr>
				<tr>
					<td class="add_leftcellStyle"> 
						主编或参编:
					</td>
					<td class="add_rightcellStyle">
						<select id="po.editorOrActor" name="po.editorOrActor"  class="textInput">
							<option value="1" selected="selected" >主编</option>
							<option value="2" >参编</option>							
						</select>						
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td class="add_leftcellStyle"> 
						制定或修订:
					</td>
					<td class="add_rightcellStyle">
						<select id="po.createOrModify" name="po.createOrModify"  class="textInput">
							<option value="1" selected="selected" >制定</option>
							<option value="2" >修订</option>							
						</select>						
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td class="add_leftcellStyle"> 
						参与单位:
					</td>
					<td class="add_rightcellStyle">
						<input class="textInput" type="text" id="po.joinDep" name="po.joinDep"  readonly="readonly" />
						<input type="button" value="请选择" onclick="multiChoice('company','po.joinDep','<%=path %>','YES')" class='buttonInput' />
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td class="add_leftcellStyle"> 
						规范组成员(注明组长):
					</td>
					<td class="add_rightcellStyle">
						<input class="textInput" type="text" id="po.members" name="po.members" />
<!--						<font color="#FF6600" size=2>*</font>-->
					</td>
				</tr>
				<tr>
					<td class="add_leftcellStyle"> 
						开始时间:
					</td>
					<td class="add_rightcellStyle">
						<input class="textInput" type="text" id="po.startDate" name="po.startDate" value="" size="30" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td class="add_leftcellStyle"> 
						任务下达单位:
					</td>
					<td class="add_rightcellStyle">
						<input class="textInput" type="text" id="po.taskDep" name="po.taskDep"  readonly="readonly" />
						<input type="button" value="请选择" onclick="multiChoice('company','po.taskDep','<%=path %>','NO')" class='buttonInput' />
						<!--						<font color="#FF6600" size=2>*</font>-->
					</td>
				</tr>
				<tr>
					<td class="add_leftcellStyle"> 
						负责人:
					</td>
					<td class="add_rightcellStyle">
						<input class="textInput" type="text" id="po.principal" name="po.principal" />
<!--						<font color="#FF6600" size=2>*</font>-->
					</td>
				</tr>
				<tr>
					<td class="add_leftcellStyle"> 
						合同额:
					</td>
					<td class="add_rightcellStyle">
						<input class="textInput" type="text" id="po.contractAmount" name="po.contractAmount" />&nbsp;万元
<!--						<font color="#FF6600" size=2>*</font>-->
					</td>
				</tr>
				<tr>
					<td class="add_leftcellStyle"> 
						已完成进度:
					</td>
					<td class="add_rightcellStyle">
						<select id="po.schedules" name="po.schedules"  class="textInput">
							<option value="1" selected="selected" >立项批复</option>
							<option value="2">工作大纲</option>
							<option value="3">征求意见稿</option>
							<option value="4">送审稿</option>
							<option value="5">总校稿</option>
							<option value="6">报批稿</option>
							<option value="7">正式颁布</option>
						</select>
						
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td class="add_leftcellStyle"> 
						结束时间:
					</td>
					<td class="add_rightcellStyle">
						<input class="textInput" type="text" id="po.endDate" name="po.endDate" value="" size="30" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
<!--						<font color="#FF6600" size=2>*</font>-->
					</td>
				</tr>
				<tr>
					<td class="add_leftcellStyle"> 
						所属平台:
					</td>
					<td class="add_rightcellStyle">
						<input class="textInput" type="text" id="po.belongPlateFormID" name="po.belongPlateFormID"  readonly="readonly" />
						<input type="button" value="请选择" onclick="multiChoice('platform','po.belongPlateFormID','<%=path %>','NO')" class='buttonInput' />
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td colspan="2" class="add_underlineCss"></td>
				</tr>
				
				<tr >
					<td colspan="2" class="add_title">
						<table cellspacing="1px" class="attachmentTableStyle" style="background-color: white;">
							<tr>
								<td colspan="3"  class="add_title">
									&nbsp;附&nbsp;件&nbsp;列&nbsp;表&nbsp;
								</td>
							</tr>
							<tr>
								<td colspan="3" >
									<input type="file" name="accessory" id="uploadify" style="float:left;"/>
									</td>
							</tr>
							<tr>
								<td colspan="3">
									<div id="fileQueue" style="float:left;"></div>
								</td>
								<td id="accessoryData" colspan="3" height="1px;">
								</td>
							</tr>
							
						</table>
					</td>
				</tr>

				<tr class="model_root_buttonAreaStyle">
					<td align="center" colspan="2" >
						<input type="button" value="&nbsp;保&nbsp;存&nbsp;" onclick="add()" class='model_buttonInput' />
						&nbsp;&nbsp;
						<input type="reset" value="&nbsp;重&nbsp;置&nbsp;" class='model_buttonInput' />
						&nbsp;&nbsp;
						<input type="button" value="&nbsp;取&nbsp;消&nbsp;" onclick="window.close()" class='model_buttonInput' />
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>